<?php $this->load->view('administrator/header_view')?>	

    <div id="main">
    	<span style="display:inline-block;float:right"><?php echo anchor('administrator/district/add','Add')?></span><br />
    	<table>
        	<tr>
                <th><?php echo $this->lang->line('district_name')?></th>
                <th><?php echo $this->lang->line('url_rewrite')?></th>
                <th><?php echo $this->lang->line('action')?></th>
            </tr>
	<?php					
        foreach($district_info as $row){
	?>
        	<tr>
                <td><?php echo $row['name']?></td>
                <td><?php echo $row['url_rewrite']?></td>
                <td><?php echo anchor('administrator/district/delete/'.$row['id'],'Delete').' | '. anchor('administrator/district/edit/'.$row['id'],'Edit')?></td>
	        </tr>
      <?php }?>
        </table>
    </div>
    
<?php $this->load->view('administrator/footer_view')?>